package org.jeecg.modules.demo.ddyht.service.impl;

import org.jeecg.modules.demo.ddyht.entity.DdygSupplier;
import org.jeecg.modules.demo.ddyht.mapper.DdygSupplierMapper;
import org.jeecg.modules.demo.ddyht.service.IDdygSupplierService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: 应付明细
 * @Author: jeecg-boot
 * @Date:   2025-02-23
 * @Version: V1.0
 */
@Service
public class DdygSupplierServiceImpl extends ServiceImpl<DdygSupplierMapper, DdygSupplier> implements IDdygSupplierService {

    @Override
    public List<DdygSupplier> getBycompany(String username) {
        return baseMapper.getBycompany(username);
    }

    @Override
    public DdygSupplier getBycompanyAndName(String companyId, String name) {
        return baseMapper.getBycompanyAndName(companyId, name);
    }
}
